This sample shows how to resolve ""Maximum Receive Message size"" error in the Syncfusion® Blazor SfPdfViewer while loading a larger PDF document. The Syncfusion’s Blazor SfPdfViewer component allows to increase the connection buffer size by adding the below service in program.cs file if the size of the SfPdfViewer is too large.
Documentation: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/blazor/annotation/comments#comment-panel
builder.Services.AddServerSideBlazor().AddHubOptions(o => { o.MaximumReceiveMessageSize = 102400000; });
To run this application, you need Visual Studio 2019 or later versions.
To debug while running the application, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.